import $axiosBase from '../axiosBase'

export default {
    // 歌单列表
    getHotSearch(callback){
        $axiosBase.get('/search/hot').then(res=>{
            callback(res);
        })
    },
    getSearchSuggest(keywords,callback){
        $axiosBase.get('/search/suggest?keywords='+keywords+'&type=mobile').then(res=>{
            callback(res);
        })
    },
    getSearchList(keywords,callback){
        $axiosBase.get('/search/?keywords='+keywords).then(res=>{
            callback(res);
        })
    }
}